namespace FieldServices_01.intrnl
{
    public class MboOperationsMetaData
        : Sybase.Reflection.EntityMetaData
    {
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public MboOperationsMetaData()
        {
            _init();
        }
        
        protected void _init()
        {
            SetId(9);
            SetAttributes(new Sybase.Reflection.AttributeMetaDataList());
            SetOperations(new Sybase.Reflection.OperationMetaDataList());
            SetAttributeMap(new Sybase.Reflection.AttributeMap());
            SetOperationMap(new Sybase.Reflection.OperationMap());
            Sybase.Reflection.AttributeMetaData ACTIVITY_attribute = AddAttributeWithParams(116, "ACTIVITY", "string", 4, false, false, false, false, false, false, "\"a\"");
            Sybase.Reflection.AttributeMetaData DESCRIPTION_attribute = AddAttributeWithParams(117, "DESCRIPTION", "string", 40, false, false, false, false, false, false, "\"b\"");
            Sybase.Reflection.AttributeMetaData START_CONS_attribute = AddAttributeWithParams(118, "START_CONS", "date?", -1, false, false, false, false, false, false, "\"c\"");
            Sybase.Reflection.AttributeMetaData PERCENT_OF_WORK_attribute = AddAttributeWithParams(119, "PERCENT_OF_WORK", "int", -1, false, false, false, false, false, false, "\"d\"");
            Sybase.Reflection.AttributeMetaData EQUIPMENT_attribute = AddAttributeWithParams(120, "EQUIPMENT", "string", 18, false, false, false, false, false, false, "\"e\"");
            Sybase.Reflection.AttributeMetaData ORDERID_attribute = AddAttributeWithParams(121, "ORDERID", "string", 12, false, false, false, false, false, false, "\"f\"");
            Sybase.Reflection.AttributeMetaData PERSNO_attribute = AddAttributeWithParams(122, "PERSNO", "string", 8, false, false, false, false, false, false, "\"g\"");
            Sybase.Reflection.AttributeMetaData pending_attribute = AddAttributeWithParams(20001, "pending", "boolean", -1, false, false, true, false, false, false, "\"pending\"");
            Sybase.Reflection.AttributeMetaData pendingChange_attribute = AddAttributeWithParams(20002, "pendingChange", "char", 1, false, false, true, false, false, false, "\"_pc\"");
            Sybase.Reflection.AttributeMetaData replayPending_attribute = AddAttributeWithParams(20005, "replayPending", "long", -1, false, false, true, false, false, false, "\"_rp\"");
            Sybase.Reflection.AttributeMetaData replayFailure_attribute = AddAttributeWithParams(20006, "replayFailure", "long", -1, false, false, true, false, false, false, "\"_rf\"");
            Sybase.Reflection.AttributeMetaData surrogateKey_attribute = AddAttributeWithParams(123, "surrogateKey", "long", -1, false, true, false, false, false, false, "\"h\"");
            Sybase.Reflection.AttributeMetaData replayCounter_attribute = AddAttributeWithParams(20004, "replayCounter", "long", -1, false, false, true, false, false, false, "\"_rc\"");
            Sybase.Reflection.AttributeMetaData disableSubmit_attribute = AddAttributeWithParams(20003, "disableSubmit", "boolean", -1, false, false, true, false, false, false, "\"_ds\"");
            InitAttributeMapFromAttributes();
            Sybase.Reflection.OperationMetaData FindByOder0_operation = AddOperationWithParams(91, "FindByOder", "MboOperations*", true);
            AddParameterForOperation(FindByOder0_operation, "OderID", "string");
            Sybase.Reflection.OperationMetaData GetPendingObjects1_operation = AddOperationWithParams(325, "getPendingObjects", "MboOperations*", true);
            Sybase.Reflection.OperationMetaData GetPendingObjects2_operation = AddOperationWithParams(326, "getPendingObjects", "MboOperations*", true);
            AddParameterForOperation(GetPendingObjects2_operation, "pendingChange", "char");
            Sybase.Reflection.OperationMetaData GetReplayPendingObjects3_operation = AddOperationWithParams(327, "getReplayPendingObjects", "MboOperations*", true);
            Sybase.Reflection.OperationMetaData IsNew4_operation = AddOperationWithParams(617, "isNew", "boolean", false);
            Sybase.Reflection.OperationMetaData IsDirty5_operation = AddOperationWithParams(618, "isDirty", "boolean", false);
            Sybase.Reflection.OperationMetaData IsDeleted6_operation = AddOperationWithParams(619, "isDeleted", "boolean", false);
            Sybase.Reflection.OperationMetaData Refresh7_operation = AddOperationWithParams(620, "refresh", "void", false);
            Sybase.Reflection.OperationMetaData _pk8_operation = AddOperationWithParams(621, "_pk", "long?", false);
            Sybase.Reflection.OperationMetaData IsPending9_operation = AddOperationWithParams(622, "isPending", "boolean", false);
            Sybase.Reflection.OperationMetaData IsCreated10_operation = AddOperationWithParams(623, "isCreated", "boolean", false);
            Sybase.Reflection.OperationMetaData IsUpdated11_operation = AddOperationWithParams(624, "isUpdated", "boolean", false);
            Sybase.Reflection.OperationMetaData SubmitPending12_operation = AddOperationWithParams(625, "submitPending", "void", false);
            Sybase.Reflection.OperationMetaData CancelPending13_operation = AddOperationWithParams(626, "cancelPending", "void", false);
            Sybase.Reflection.OperationMetaData SubmitPendingOperations14_operation = AddOperationWithParams(627, "submitPendingOperations", "void", true);
            Sybase.Reflection.OperationMetaData CancelPendingOperations15_operation = AddOperationWithParams(628, "cancelPendingOperations", "void", true);
            Sybase.Reflection.OperationMetaData Save16_operation = AddOperationWithParams(629, "save", "void", false);
            Sybase.Reflection.OperationMetaData FindWithQuery17_operation = AddOperationWithParams(630, "findWithQuery", "MboOperations*", true);
            AddParameterForOperation(FindWithQuery17_operation, "query", "Sybase.Persistence.Query");
            Sybase.Reflection.OperationMetaData GetSize18_operation = AddOperationWithParams(631, "getSize", "int", true);
            AddParameterForOperation(GetSize18_operation, "query", "Sybase.Persistence.Query");
            InitOperationMapFromOperations();
            SetName("MboOperations");
            SetTable("\"fieldservices_01_1_0_mbooperations\"");
            SetSynchronizationGroup("default");
        }
        
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public  override bool IsEntity()
        {
            return true;
        }
        
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public  override bool IsService()
        {
            return false;
        }
    }
}